package com.java.sano.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.java.sano.entity.SccDrugstore;
import com.java.sano.mapper.DrugstoreMapper;
import com.java.sano.service.DrugstoreService;
import com.java.sano.vo.DrugstoreAndUserVo;
import com.java.sano.vo.DrugstoreVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DrugstoreServiceImpl extends ServiceImpl<DrugstoreMapper,SccDrugstore> implements DrugstoreService {
   @Resource
    private DrugstoreMapper drugstoreMapper;

   @Override
    public List<DrugstoreAndUserVo> selectByCode(DrugstoreVo drugstoreVo){

       return drugstoreMapper.selectByCode(drugstoreVo);

   }

}
